home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
graphics
/
rmtc02.zip
/
RMASTER.DOC
< prev
next >
Wrap
Text File
|
1992-04-07
|
18KB
|
727 lines
Raster Master V1.1
for
Turbo C V2.0
-- SHAREWARE RELEASE --
(C) Copyright 1991 By Scarborough Digital.
All Rights Reserved.
T A B L E O F C O N T E N T S
DISCLAIMER.................................1
ACKNOWLEDGEMENTS...........................1
REQUIREMENTS...............................1
LICENSING..................................1
CUSTOMER SERVICE...........................1-2
INTRODUCTION...............................2
GETTING STARTED............................2
SELECTING COLORS...........................4
SELECTING TOOLS............................4
TOOL DESCRIPTIONS..........................4-5
CHANGING THE ZOOM SIZE.....................5
CHANGING FILE FORMATS......................6
USING THE FILE REQUESTER...................7-8
ADDING GRAPHICS TO YOUR PROGRAMS...........8
A NOTE TO REGISTERED USERS.................8
REGISTERING RASTER MASTER..................9
OTHER SCARBOROUGH DIGITAL PRODUCTS.........9
DISCLAIMER
-----------
Scarborough Digital will not be liable for any damage that may
result from the use of this program. This program comes with NO
WARRANTY written or implied. Use this program at your own risk.
ACKNOWLEDGMENTS
----------------
IBM is a registered trademark of International Business Machines
Inc. Turbo C is a trademark of Borland International. Windows is a
registered trade mark of Microsoft Inc.
REQUIREMENTS
-------------
IBM Compatible Machine
Mouse
VGA card
DOS 3.3 or higher (or any Compatible DOS)
Turbo C V2.0
LICENSING
----------
This program has been released for distribution as shareware.
You have been given the chance to sample the full capabilities of
Raster Master without risk! You are granted a 60 day evaluation
period to use Raster Master, if you find that Raster Master is a
valuable tool and expect to use it beyond the evaluation period,
then you are expected to register. The cost of registering Raster
Master is $25.00. See REGISTER.TXT. For a site licence please call
or write.
CUSTOMER SERVICE
-----------------
If you have any questions, comments, or suggestions,
Scarborough Digital can be contacted through several means.
VOICE PHONE - The Scarborough Digital phone number is
(416) 438-5049
Page 1
BBS - CRS Members leave a message to Neil Bojkovski.
- Rose Media Members leave a message to Nick Onoufriou.
- PC Connect (416) 733-9052 leave a message to
Nick Onoufriou at the main conference.
- We also monitor the Shareware and C/Pascal conferences
on the major Networks.
EMAIL - nick.onoufriou@rose.uucp
MAIL - Scarborough Digital
7305 Woodbine Ave.,
Unit 45
Markham, Ontario
Canada L3R 3V7
INTRODUCTION
-------------
Raster Master is a graphic editor that helps Turbo C
Programmers add graphics to their programs. Raster Master is
capable of handling graphics up to 100 X 100 pixels in size with
16 colors. The popular PCX format is supported along with the
Windows ICO format used for MS Windows Icons. Other formats are
also supported to make adding graphics to your programs simple.
GETTING STARTED
----------------
If you have not yet tried the program, please try it now, this
will allow you to get a better understanding for the proceeding
information. Remember to use the door in order to exit the program.
The Raster Master display is divided into five areas, the top
left corner contains the actual size image of the icon, the far
right contains a zoom image of the icon, the lower left contains
a box with the 'RM' letters, above that is the tool box, and at the
lower right is the color box. All drawing and editing is done in
the zoom area.
Page 2
Actual Size Box Zoom Box
╔══════════════════╗ ╔═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╤═╗
║ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╚══════════════════╝ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
Tool Box ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╔══════════════════╗ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ┌──────┐ ┌──┐ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ │ 1 │ │6 │ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ └──────┘ └──┘ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ┌──────┐ ┌──┐ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ │ 2 │ │7 │ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ └──────┘ └──┘ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ┌──────┐ ┌──┐ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ │ 3 │ │8 │ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ └──────┘ └──┘ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ┌──────┐ ┌──┐ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ │ 4 │ │9 │ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ └──────┘ └──┘ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ┌──────┐ ┌──┐ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ │ 5 │ │10│ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ └──────┘ └──┘ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ┌──┐ ┌──┐ ┌──┐ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ │11│ │12│ │13│ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ └──┘ └──┘ └──┘ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ ┌──┐ ┌──┐ ┌──┐ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ │14│ │15│ │16│ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
║ └──┘ └──┘ └──┘ ║ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╚══════════════════╝ ╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╟─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─┼─╢
╚═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╧═╝
RM Box
╔══════════════════╗
║ ║
║ **** * * ║ Color Box
║ * * ** ** ║ ╔════════════════════════════════════════════╗
║ **** * * * ║ ║ ┌──────┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐ ┌──┐║
║ * * * * ║ ║ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │║
║ * * * * ║ ║ └──────┘ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘ └──┘║
║ ║ ║ ║
╚══════════════════╝ ╚════════════════════════════════════════════╝
1. Open 6. Undo 11. Circle 16. Filled Square
2. Save 7. Grid 12. Filled Circle
3. CLR 8. Door 13. Spray
4. View 9. Paint 14. Dot
5. Clip 10. Line 15. Square
Page 3
SELECTING COLORS
-----------------
To select a color move the mouse pointer in color box area,
point to one of the colors and press the left mouse button.
SELECTING TOOLS
----------------
To select any of the tools move the mouse pointer in the tool
box area, point to one of the tools and press the left mouse
button.
TOOL DESCRIPTION
-----------------
-Open : Read image file
(see USING THE FILE REQUESTER)
(see CHANGING FORMATS)
-Save : Save Image to file
(see CHANGING FORMATS)
(see USING THE FILE REQUESTER)
-Dot : Point where to plot dot, press left mouse
button.
-Line : Point where to plot the starting end of
the line and press left mouse button, move pointer
to extend the line, release button.
-Square : Point where to plot the starting corner
of the square and press left mouse button, move
pointer to expand the square, release button.
-Filled Square : Point where to plot the starting corner of
the square and press left mouse button, move
pointer to expand the square, release button.
-Circle : Point where the centre of the circle
will be and press left mouse button, move pointer to
expand the circle, release button.
-Filled Circle : Point where the centre of the circle will be
and press left mouse button, move pointer to
expand the circle, release button.
Page 4
-Spray : Point where to spray dots and press left mouse
button, release button.
-Paint : Point to area that you want painted and press left
mouse button, release button.
-Undo : Removes the last thing you plotted.
-Grid : Toggles the grid in the zoom box.
-CLR : Clears the display.
-Door : Allows you to exit the program.
-View : Allows you to view your image in different
resolutions.
-Clip : Point where to mark the starting corner
of the clip area and press left the left mouse
button, move pointer to expand the clip area, release
button.
-Open : Reads file into the clipped area.
-Save : Saves image area that is clipped.
-HFLIP : Flips the image horizontally
-VFLIP : Flips the image vertically.
-Up : Scrolls the image up.
-Down : Scrolls the image down.
-Left : Scrolls the image to the left.
-Right : Scrolls the image to the right.
CHANGING THE ZOOM SIZE
-----------------------
Move the pointer to the Grid gadget and press the RIGHT mouse
button.
Page 5
CHANGING FILE FORMATS
----------------------
By moving the mouse pointer over the SAVE or OPEN gadget and
pressing the RIGHT mouse button you are given a list of file
formats. Select a format and press the OK gadget.
XGF - Turbo C Internal Bitmap Format
Sample programs are provided on how to read a write
images using this format. See ReadXgf.c and WriteXgf.c
DEF - HEX type format
This type of file is a regular text file where
each pixels color is represented by a HEX
digit from 0-F) This format is provided as a
means of adding features to your graphics that
Raster Master is not capable of. See ReadDef.c
and WriteDef.c
ICO - Windows Icon Format
Remember when saving in this format that only
the first 32 X 32 pixels starting from the
left top corner will be saved. If you clip save
the file and its less than 32 X 32 the image
will be padded to 32 X 32.
PCX - Used By PC Paintbrush and other popular
programs. Images that are larger than 100 X 100
pixels will be truncated. Support is provided
for images with 16 colors or less.
CHA - Creates a text file containing an image array
that can be included in your programs. See DisCHA.c
for using this format.
Page 6
USING THE FILE REQUESTER
-------------------------
╔════════════════════════╗
║ ║
╠════════════════════════╣
║ 1 ║ 1. File Path Box
╠═══════════════════╦════╣ 2. File Name Box
║ ║╔══╗║ 3. Up Gadget
║ ║║3 ║║ 4. Scroller Gadget
║ ║╚══╝║ 5. Down Gadget
║ ║╔╦╦╗║ 6. Parent Gadget
║ ║║4 ║║ 7. Cancel Gadget
║ ║╠╩╩╣║ 8. OK Gadget
║ ║║ ║║
║ ║║ ║║
║ ║║ ║║
║ ║║ ║║
║ ║║ ║║
║ ║╚══╝║
╠═══════════════════╣╔══╗║
║ 2 ║║5 ║║
╠═══════════════════╝╚══╝║
║╔═════╗╔═════════╗╔════╗║
║║ 6 ║║ 7 ║║ 8 ║║
║╚═════╝╚═════════╝╚════╝║
╚════════════════════════╝
SELECTING A FILENAME
------------------------
If it appears in the file list, point to the file and
press the left mouse button, point to OK gadget and
press the left mouse button.
OR
Point to the filename box and press the left mouse
button, enter the name, point to OK gadget and press
left mouse button.
CHANGING THE PATH
---------------------
Point to the parent gadget and press the left
mouse button.
OR
Point to a file directory in the file list box and
press the left mouse button.
OR
Point to the file path box and press the left
mouse button, then type in the desired path.
Page 7
SCROLLING THROUGH THE FILE LIST
-----------------------------------
Point to the Up or Down gadget and press the left mouse
button.
OR
Point to the scroller gadget, press the left mouse
button and position to desired location, release mouse
button.
ADDING GRAPHICS TO YOUR OWN PROGRAMS
-------------------------------------
Sample files are provided for reading and writing graphic files
that are supported by Raster Master. Because Raster Master uses the
EGAVGA.BGI, images that are saved in XGF format can only be displayed
with this driver.
ReadXgf.c - Reads a XGF file.
WriteXgf.c - Creates a XGF file.
ReadDef.c - Reads a DEF file.
WriteDef.c - Creates a DEF file.
DisCha.c - Displays a CHA file that has been included
as part of the source code.
A NOTE TO REGISTERED USERS
---------------------------
Thank you for registering Raster Master. Your key file (RMASTER.KEY)
should be placed in the same directory as your RMASTER.EXE file in order
to deactivate the registration reminders. Your key file is encoded with
your name and address and should not be redistributed in any form. Please
disregard the next page if you have already registered Raster Master.
Page 8
REGISTERING RASTER MASTER
--------------------------
Why should you register Raster Master?
When you register Raster Master your letting us know your using
this program and would like to see similar programs released
through the shareware process. It also allows us to devote more time
making the program better if we are provided with an incentive to
do so. Upon registering you will receive the latest and greatest
version of Raster Master and a 'KEY' file that removes the reminders
for registration from the current and any future versions of the
program.
If you have decided that this program is worth registering please
print a copy of REGISTER.TXT and fill it out.
OTHER SCARBOROUGH DIGITAL PRODUCTS
-----------------------------------
Raster Master for Turbo Pascal 5/5.5/6
Raster Master for Turbo C V2.0
Raster Master for QuickC V2.5
Raster Master for QuickBASIC/GWBASIC/PowerBASIC
Raster Master for Fastgraph
Nicon - Icon editor for creating Windows 3 ICO files
Page 9